package IC.AST;

import java.util.ArrayList;

public class FieldMethodList {

	private ArrayList<Field> fields;
	private ArrayList<Method> methods;
	
	public FieldMethodList(ArrayList<Field> fields,
		                      ArrayList<Method> methods) {
		this.fields = fields;
		this.methods = methods;
	}
	
	public FieldMethodList() {
		this( new ArrayList<Field>(),new ArrayList<Method>());
	}
	
	
	public ArrayList<Method> getMethods() {
		return methods;
	}
	
	public ArrayList<Field> getFields() {
		return fields;
	}
	
	public void add(ArrayList<Field> fields){
		this.fields.addAll(fields);
	}
	
	
}